<?php get_header();gallery_style();?>

<div class="main_title" style="margin-top:30px;margin-bottom:30px;">Hình ảnh hoạt động</div>
<div class="cleaner" style="height:50px;"></div>
	<?php $cat=get_the_category();
		$args = array(
				'cat'=>$cat[0]->cat_ID,
			);						
		 query_posts($args);
	?>
	<?php while(have_posts()):the_post();?>
	<div class="container">
		<center>
		<div class="image_wrapper indexImage">
			<a href="<?php echo the_permalink()?>">
				<?php echo the_post_thumbnail('medium',array('style'=>'width:204px;','title'=>get_the_title(),'alt'=>get_the_title()) );?>
			</a>
		</div>
		<div><?php the_title();?></div>
		</center>
	</div>	
	<?php endwhile;?>
<?php get_footer(); ?>